package cn.iocoder.yudao.module.def.service.common;

public class YearCondition {
    private String year; // 年份值
    private boolean isPrevious; // 是否为 "及以前" 条件

    public YearCondition(String year, boolean isPrevious) {
        this.year = year;
        this.isPrevious = isPrevious;
    }

    public String getYear() {
        return year;
    }

    public boolean isPrevious() {
        return isPrevious;
    }
}